package drds.binlog.parse.exception;

import drds.binlog.common.Authors;
import drds.binlog.common.ProjectException;
import drds.common.Author;

@Author(name = Authors.LI_YANG)
public class ParseException extends ProjectException
{


    public ParseException(String errorCode)
    {
        super(errorCode);
    }

    public ParseException(String errorCode, Throwable cause)
    {
        super(errorCode, cause);
    }

    public ParseException(String errorCode, String errorDesc)
    {
        super(errorCode + ":" + errorDesc);
    }

    public ParseException(String errorCode, String errorDesc, Throwable cause)
    {
        super(errorCode + ":" + errorDesc, cause);
    }

    public ParseException(Throwable cause)
    {
        super(cause);
    }

}
